 package net.go176.backpack.listener;
 
 import net.go176.backpack.Backpack;
 import org.bukkit.event.EventHandler;
 import org.bukkit.event.EventPriority;
 import org.bukkit.event.Listener;
 import org.bukkit.event.player.PlayerChangedWorldEvent;
 import org.bukkit.event.player.PlayerJoinEvent;
 import org.bukkit.event.player.PlayerQuitEvent;
 
 public class DataHandleListener
   implements Listener
 {
   private Backpack p;
   
   public DataHandleListener(Backpack plugin) {
     this.p = plugin;
   }
   
   @EventHandler(priority = EventPriority.MONITOR)
   public void onPlayerChangedWorld(PlayerChangedWorldEvent e) {
     this.p.getDataManager().handleWorldChange(e.getPlayer(), true, true);
   }
   
   @EventHandler(priority = EventPriority.MONITOR)
   public void onPlayerJoin(PlayerJoinEvent e) {
     this.p.getDataManager().handleJoin(e.getPlayer());
   }
   
   @EventHandler(priority = EventPriority.MONITOR)
   public void onPlayerQuit(PlayerQuitEvent e) {
     this.p.getDataManager().handleQuit(e.getPlayer());
   }
 }


/* Location:              D:\User\Xuan\Downloads\MyBackpack1.2.5.jar!\net\saralab\mybackpack\listener\DataHandleListener.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.1.3
 */